package com.mz361.admin.manage.validator;

import lombok.Data;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author liaomch
 * @date 2024/05/07
 */
@Data
public class CompanyValid implements Serializable {
    @NotEmpty(message = "企业名称不能为空")
    private String company_name;
    @Digits(integer = 12, fraction = 2, message = "外部ID不是数字")
    private Integer company_out_id;
}